package test1223;

public class Test09 {
    public static void main(String[] args) {
        int sum = 0;
        // 求1+2+3+4+6+7+8+10和
        for (int i = 0; i <= 10; i++) {
            if (i == 5 || i == 9) {
                continue;
            }
            sum = sum + i;
        }
        System.out.println("上述数字和为：" + sum);
    }
}